package com.hongyi.service.Impl;

import com.hongyi.mapper.UserRoleMapper;
import com.hongyi.service.UserRoleService;
import com.hongyi.service.UserService;
import com.hongyi.vo.UserRoleVo;
import com.hongyi.vo.UserVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: hongyi
 * @CreateTime: 2024-08-29
 */

@Service
public class UserRoleServiceImpl implements UserRoleService {

    @Autowired
    private UserRoleMapper userRoleMapper;
    @Override
    public List<UserRoleVo> findAllUserAndRole() {
        return userRoleMapper.findAllUserAndRole();
    }
}
